*,
*:before,
*:after {
    box-sizing: border-box;
}

html,
body,
#root {
    height: 100%;
    min-height: 100%;
    width: 100%;
    min-width: 320px;

    @media (prefers-color-scheme: dark) {
        background-color: var(--black);
    }
}

html {
    font-size: 10px;
}

body {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.4;
    font-family: Roboto, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, Arial, sans-serif;
}

ul {
    margin: 0;
    padding: 0;
}

.hidden {
    display: none;
}

button,
input,
textarea {
    font-family: inherit;
}

a {
    color: currentColor;
}

.light-mode {
    body {
        background-color: transparent;
    }
}

.dark-mode {
    body {
        background-color: var(--black);
    }
}
